package com.wuliu.system.service;

import java.util.List;
import com.wuliu.system.domain.TspLoadingDetail;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 装车明细Service接口
 * 
 * @author realue
 * @date 2023-10-25
 */
public interface ITspLoadingDetailService extends IService<TspLoadingDetail> {
    /**
     * 查询装车明细
     * 
     * @param id 装车明细主键
     * @return 装车明细
     */
    public TspLoadingDetail selectTspLoadingDetailById(String id);

    /**
     * 查询装车明细列表
     * 
     * @param tspLoadingDetail 装车明细
     * @return 装车明细集合
     */
    public List<TspLoadingDetail> selectTspLoadingDetailList(TspLoadingDetail tspLoadingDetail);

    /**
     * 新增装车明细
     * 
     * @param tspLoadingDetail 装车明细
     * @return 结果
     */
    public int insertTspLoadingDetail(TspLoadingDetail tspLoadingDetail);

    /**
     * 修改装车明细
     * 
     * @param tspLoadingDetail 装车明细
     * @return 结果
     */
    public int updateTspLoadingDetail(TspLoadingDetail tspLoadingDetail);

    /**
     * 批量删除装车明细
     * 
     * @param ids 需要删除的装车明细主键集合
     * @return 结果
     */
    public int deleteTspLoadingDetailByIds(String[] ids);

    /**
     * 删除装车明细信息
     * 
     * @param id 装车明细主键
     * @return 结果
     */
    public int deleteTspLoadingDetailById(String id);
}
